WooCommerce\Square\Handlers\Connection S

Total Complexity 45
Dependencies 6
Dependents 1
Total lines 495
Lines of code 208
Logical lines of code 114
Comment lines 161
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
handle_connected()
A
45 10 41
refresh_connection()
A
44 9 45
index_customers()
S
61 5 12
handle_disconnect()
S
60 4 12
get_connect_url()
S
58 2 15
get_scopes()
S
56 1 21
schedule_refresh()
S
66 2 8
get_refresh_url()
S
79 2 3
schedule_customer_index()
S
72 2 5
get_disconnect_url()
S
72 1 5
__construct()
S
77 1 4
get_disconnect_button_html()
S
66 1 9
get_connect_button_html()
S
66 1 9
add_hooks()
S
70 1 6
unschedule_refresh()
S
79 1 3
disconnect()
S
70 1 7
get_plugin()
S
82 1 3